#pragma once
/*
@author TriLVH
@description get input from game run and set game target action
*/

#include <dinput.h>
//#include "ContraEntity.h"
#include "GameRun.h"

class GameRun;

class GameRunInput {
private:
	/* Contra entity tartget, map this target with gamerun main player */
	GameRun* _gamerun;
	ContraEntity* _contraEntity;
public:
	/* Constructor map main player with entity target*/
	GameRunInput(ContraEntity* contraEntity, GameRun* gamerun) {
		_contraEntity = contraEntity;
		_gamerun = gamerun;
	}

	/* Set input function */
	void setInput(int keycode, bool onHold) ;
};